﻿@model OPLWeb.Models.NewsUpdate
<div id="carousel-flash-container">
    <a href="/News/Details/@Model.ID">
        <img src="@Url.Content("~/content/slider/slide" + @Model.ID + ".jpg")" alt="News Images" width="800" height="450" />
        <div class="cmf-inner">
            <h2 id="videoheadline" class="white-50-opaque">
                @Model.Headline</h2>
            <div class="cmf-copy">
                <p id="carausel-descritpion" class="description">
                    @Html.Raw(HttpUtility.HtmlDecode(Model.Description.Length > 400 ? Model.Description.Substring(0, 400) + "..." : Model.Description))
                </p>
                <p class="category">
                    Date</p>
                <p class="date">
                    @Model.DateTime</p>
            </div>
        </div>
    </a>
</div>
